package com.systemCapacity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("equipmentTemplate")
public class EquipmentTemplate implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "templateId")
    @NotBlank(message = "作战装备模板id不能为空")
    private String templateId;

    @NotBlank(message = "作战装备模板不能为空")
    private String templateName;

    @NotNull(message = "作战装备所属平台不能为空")
    private Integer templateType;

    private Integer platformType;

    private Integer templateBelong; //装备模板所属放 1、红方 2、蓝方
}
